package cn.com.git.workflow.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class WorkFlowConfigExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public WorkFlowConfigExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFlowTypeIsNull() {
            addCriterion("flow_type is null");
            return (Criteria) this;
        }

        public Criteria andFlowTypeIsNotNull() {
            addCriterion("flow_type is not null");
            return (Criteria) this;
        }

        public Criteria andFlowTypeEqualTo(String value) {
            addCriterion("flow_type =", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeNotEqualTo(String value) {
            addCriterion("flow_type <>", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeGreaterThan(String value) {
            addCriterion("flow_type >", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeGreaterThanOrEqualTo(String value) {
            addCriterion("flow_type >=", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeLessThan(String value) {
            addCriterion("flow_type <", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeLessThanOrEqualTo(String value) {
            addCriterion("flow_type <=", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeLike(String value) {
            addCriterion("flow_type like", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeNotLike(String value) {
            addCriterion("flow_type not like", value, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeIn(List<String> values) {
            addCriterion("flow_type in", values, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeNotIn(List<String> values) {
            addCriterion("flow_type not in", values, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeBetween(String value1, String value2) {
            addCriterion("flow_type between", value1, value2, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowTypeNotBetween(String value1, String value2) {
            addCriterion("flow_type not between", value1, value2, "flowType");
            return (Criteria) this;
        }

        public Criteria andFlowNameIsNull() {
            addCriterion("flow_name is null");
            return (Criteria) this;
        }

        public Criteria andFlowNameIsNotNull() {
            addCriterion("flow_name is not null");
            return (Criteria) this;
        }

        public Criteria andFlowNameEqualTo(String value) {
            addCriterion("flow_name =", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameNotEqualTo(String value) {
            addCriterion("flow_name <>", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameGreaterThan(String value) {
            addCriterion("flow_name >", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameGreaterThanOrEqualTo(String value) {
            addCriterion("flow_name >=", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameLessThan(String value) {
            addCriterion("flow_name <", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameLessThanOrEqualTo(String value) {
            addCriterion("flow_name <=", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameLike(String value) {
            addCriterion("flow_name like", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameNotLike(String value) {
            addCriterion("flow_name not like", value, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameIn(List<String> values) {
            addCriterion("flow_name in", values, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameNotIn(List<String> values) {
            addCriterion("flow_name not in", values, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameBetween(String value1, String value2) {
            addCriterion("flow_name between", value1, value2, "flowName");
            return (Criteria) this;
        }

        public Criteria andFlowNameNotBetween(String value1, String value2) {
            addCriterion("flow_name not between", value1, value2, "flowName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeIsNull() {
            addCriterion("current_node is null");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeIsNotNull() {
            addCriterion("current_node is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeEqualTo(String value) {
            addCriterion("current_node =", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNotEqualTo(String value) {
            addCriterion("current_node <>", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeGreaterThan(String value) {
            addCriterion("current_node >", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeGreaterThanOrEqualTo(String value) {
            addCriterion("current_node >=", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeLessThan(String value) {
            addCriterion("current_node <", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeLessThanOrEqualTo(String value) {
            addCriterion("current_node <=", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeLike(String value) {
            addCriterion("current_node like", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNotLike(String value) {
            addCriterion("current_node not like", value, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeIn(List<String> values) {
            addCriterion("current_node in", values, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNotIn(List<String> values) {
            addCriterion("current_node not in", values, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeBetween(String value1, String value2) {
            addCriterion("current_node between", value1, value2, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNotBetween(String value1, String value2) {
            addCriterion("current_node not between", value1, value2, "currentNode");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeIsNull() {
            addCriterion("current_node_type is null");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeIsNotNull() {
            addCriterion("current_node_type is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeEqualTo(String value) {
            addCriterion("current_node_type =", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeNotEqualTo(String value) {
            addCriterion("current_node_type <>", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeGreaterThan(String value) {
            addCriterion("current_node_type >", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("current_node_type >=", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeLessThan(String value) {
            addCriterion("current_node_type <", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeLessThanOrEqualTo(String value) {
            addCriterion("current_node_type <=", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeLike(String value) {
            addCriterion("current_node_type like", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeNotLike(String value) {
            addCriterion("current_node_type not like", value, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeIn(List<String> values) {
            addCriterion("current_node_type in", values, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeNotIn(List<String> values) {
            addCriterion("current_node_type not in", values, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeBetween(String value1, String value2) {
            addCriterion("current_node_type between", value1, value2, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeTypeNotBetween(String value1, String value2) {
            addCriterion("current_node_type not between", value1, value2, "currentNodeType");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameIsNull() {
            addCriterion("current_node_name is null");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameIsNotNull() {
            addCriterion("current_node_name is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameEqualTo(String value) {
            addCriterion("current_node_name =", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameNotEqualTo(String value) {
            addCriterion("current_node_name <>", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameGreaterThan(String value) {
            addCriterion("current_node_name >", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameGreaterThanOrEqualTo(String value) {
            addCriterion("current_node_name >=", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameLessThan(String value) {
            addCriterion("current_node_name <", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameLessThanOrEqualTo(String value) {
            addCriterion("current_node_name <=", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameLike(String value) {
            addCriterion("current_node_name like", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameNotLike(String value) {
            addCriterion("current_node_name not like", value, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameIn(List<String> values) {
            addCriterion("current_node_name in", values, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameNotIn(List<String> values) {
            addCriterion("current_node_name not in", values, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameBetween(String value1, String value2) {
            addCriterion("current_node_name between", value1, value2, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andCurrentNodeNameNotBetween(String value1, String value2) {
            addCriterion("current_node_name not between", value1, value2, "currentNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeIsNull() {
            addCriterion("next_node is null");
            return (Criteria) this;
        }

        public Criteria andNextNodeIsNotNull() {
            addCriterion("next_node is not null");
            return (Criteria) this;
        }

        public Criteria andNextNodeEqualTo(String value) {
            addCriterion("next_node =", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeNotEqualTo(String value) {
            addCriterion("next_node <>", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeGreaterThan(String value) {
            addCriterion("next_node >", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeGreaterThanOrEqualTo(String value) {
            addCriterion("next_node >=", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeLessThan(String value) {
            addCriterion("next_node <", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeLessThanOrEqualTo(String value) {
            addCriterion("next_node <=", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeLike(String value) {
            addCriterion("next_node like", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeNotLike(String value) {
            addCriterion("next_node not like", value, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeIn(List<String> values) {
            addCriterion("next_node in", values, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeNotIn(List<String> values) {
            addCriterion("next_node not in", values, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeBetween(String value1, String value2) {
            addCriterion("next_node between", value1, value2, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeNotBetween(String value1, String value2) {
            addCriterion("next_node not between", value1, value2, "nextNode");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeIsNull() {
            addCriterion("next_node_type is null");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeIsNotNull() {
            addCriterion("next_node_type is not null");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeEqualTo(String value) {
            addCriterion("next_node_type =", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeNotEqualTo(String value) {
            addCriterion("next_node_type <>", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeGreaterThan(String value) {
            addCriterion("next_node_type >", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeGreaterThanOrEqualTo(String value) {
            addCriterion("next_node_type >=", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeLessThan(String value) {
            addCriterion("next_node_type <", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeLessThanOrEqualTo(String value) {
            addCriterion("next_node_type <=", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeLike(String value) {
            addCriterion("next_node_type like", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeNotLike(String value) {
            addCriterion("next_node_type not like", value, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeIn(List<String> values) {
            addCriterion("next_node_type in", values, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeNotIn(List<String> values) {
            addCriterion("next_node_type not in", values, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeBetween(String value1, String value2) {
            addCriterion("next_node_type between", value1, value2, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeTypeNotBetween(String value1, String value2) {
            addCriterion("next_node_type not between", value1, value2, "nextNodeType");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameIsNull() {
            addCriterion("next_node_name is null");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameIsNotNull() {
            addCriterion("next_node_name is not null");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameEqualTo(String value) {
            addCriterion("next_node_name =", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameNotEqualTo(String value) {
            addCriterion("next_node_name <>", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameGreaterThan(String value) {
            addCriterion("next_node_name >", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameGreaterThanOrEqualTo(String value) {
            addCriterion("next_node_name >=", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameLessThan(String value) {
            addCriterion("next_node_name <", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameLessThanOrEqualTo(String value) {
            addCriterion("next_node_name <=", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameLike(String value) {
            addCriterion("next_node_name like", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameNotLike(String value) {
            addCriterion("next_node_name not like", value, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameIn(List<String> values) {
            addCriterion("next_node_name in", values, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameNotIn(List<String> values) {
            addCriterion("next_node_name not in", values, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameBetween(String value1, String value2) {
            addCriterion("next_node_name between", value1, value2, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andNextNodeNameNotBetween(String value1, String value2) {
            addCriterion("next_node_name not between", value1, value2, "nextNodeName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameIsNull() {
            addCriterion("btn_eng_name is null");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameIsNotNull() {
            addCriterion("btn_eng_name is not null");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameEqualTo(String value) {
            addCriterion("btn_eng_name =", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameNotEqualTo(String value) {
            addCriterion("btn_eng_name <>", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameGreaterThan(String value) {
            addCriterion("btn_eng_name >", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameGreaterThanOrEqualTo(String value) {
            addCriterion("btn_eng_name >=", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameLessThan(String value) {
            addCriterion("btn_eng_name <", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameLessThanOrEqualTo(String value) {
            addCriterion("btn_eng_name <=", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameLike(String value) {
            addCriterion("btn_eng_name like", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameNotLike(String value) {
            addCriterion("btn_eng_name not like", value, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameIn(List<String> values) {
            addCriterion("btn_eng_name in", values, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameNotIn(List<String> values) {
            addCriterion("btn_eng_name not in", values, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameBetween(String value1, String value2) {
            addCriterion("btn_eng_name between", value1, value2, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnEngNameNotBetween(String value1, String value2) {
            addCriterion("btn_eng_name not between", value1, value2, "btnEngName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameIsNull() {
            addCriterion("btn_chn_name is null");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameIsNotNull() {
            addCriterion("btn_chn_name is not null");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameEqualTo(String value) {
            addCriterion("btn_chn_name =", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameNotEqualTo(String value) {
            addCriterion("btn_chn_name <>", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameGreaterThan(String value) {
            addCriterion("btn_chn_name >", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameGreaterThanOrEqualTo(String value) {
            addCriterion("btn_chn_name >=", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameLessThan(String value) {
            addCriterion("btn_chn_name <", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameLessThanOrEqualTo(String value) {
            addCriterion("btn_chn_name <=", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameLike(String value) {
            addCriterion("btn_chn_name like", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameNotLike(String value) {
            addCriterion("btn_chn_name not like", value, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameIn(List<String> values) {
            addCriterion("btn_chn_name in", values, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameNotIn(List<String> values) {
            addCriterion("btn_chn_name not in", values, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameBetween(String value1, String value2) {
            addCriterion("btn_chn_name between", value1, value2, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andBtnChnNameNotBetween(String value1, String value2) {
            addCriterion("btn_chn_name not between", value1, value2, "btnChnName");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIsNull() {
            addCriterion("operate_type is null");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIsNotNull() {
            addCriterion("operate_type is not null");
            return (Criteria) this;
        }

        public Criteria andOperateTypeEqualTo(String value) {
            addCriterion("operate_type =", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotEqualTo(String value) {
            addCriterion("operate_type <>", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeGreaterThan(String value) {
            addCriterion("operate_type >", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("operate_type >=", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLessThan(String value) {
            addCriterion("operate_type <", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLessThanOrEqualTo(String value) {
            addCriterion("operate_type <=", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeLike(String value) {
            addCriterion("operate_type like", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotLike(String value) {
            addCriterion("operate_type not like", value, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeIn(List<String> values) {
            addCriterion("operate_type in", values, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotIn(List<String> values) {
            addCriterion("operate_type not in", values, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeBetween(String value1, String value2) {
            addCriterion("operate_type between", value1, value2, "operateType");
            return (Criteria) this;
        }

        public Criteria andOperateTypeNotBetween(String value1, String value2) {
            addCriterion("operate_type not between", value1, value2, "operateType");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNull() {
            addCriterion("group_id is null");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNotNull() {
            addCriterion("group_id is not null");
            return (Criteria) this;
        }

        public Criteria andGroupIdEqualTo(Integer value) {
            addCriterion("group_id =", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotEqualTo(Integer value) {
            addCriterion("group_id <>", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThan(Integer value) {
            addCriterion("group_id >", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("group_id >=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThan(Integer value) {
            addCriterion("group_id <", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThanOrEqualTo(Integer value) {
            addCriterion("group_id <=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdIn(List<Integer> values) {
            addCriterion("group_id in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotIn(List<Integer> values) {
            addCriterion("group_id not in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdBetween(Integer value1, Integer value2) {
            addCriterion("group_id between", value1, value2, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotBetween(Integer value1, Integer value2) {
            addCriterion("group_id not between", value1, value2, "groupId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}